package com.open.system.service.impl;

import com.open.system.service.LoanMsgConfigService;
import com.open.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanMsgConfigDao;
import com.open.system.domain.LoanMsgConfigDO;




@Service
public class LoanMsgConfigServiceImpl implements LoanMsgConfigService {
	@Autowired
	private LoanMsgConfigDao loanMsgConfigDao;
	
	@Override
	public LoanMsgConfigDO get(Long id){
		return loanMsgConfigDao.get(id);
	}
	
	@Override
	public List<LoanMsgConfigDO> list(Map<String, Object> map){
		return loanMsgConfigDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanMsgConfigDao.count(map);
	}
	
	@Override
	public int save(LoanMsgConfigDO loanMsgConfig){
		return loanMsgConfigDao.save(loanMsgConfig);
	}
	
	@Override
	public int update(LoanMsgConfigDO loanMsgConfig){
		return loanMsgConfigDao.update(loanMsgConfig);
	}
	
	@Override
	public int remove(Long id){
		return loanMsgConfigDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanMsgConfigDao.batchRemove(ids);
	}
	
}
